package com.ruoyi.project.im.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 消息记录对象 im_message
 *
 * @author hongwj
 * @date 2024-03-01
 */
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ImMessage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    private Long senderId;

    /**
     * $column.columnComment
     */
    private Long receiverId;

    /**
     * $column.columnComment
     */
    private String content;

    /**
     * $column.columnComment
     */
    private String type;

    private String width;

    private String height;

    private String lng;

    private String lat;

    private String address;

    private String url;

    private String fileName;

    private String size;

    private String cover;

    private Long timestamp;

    private Long groupId;

    private boolean withdraw;
    private boolean deleted;
    private boolean hasRead;


}